﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Services;

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]

public class HocSinhBLL : System.Web.Services.WebService
{
    public HocSinhBLL () {

        //Uncomment the following line if using designed components 
        //InitializeComponent(); 
    }

    [WebMethod]
    public string HelloWorld() {
        return "Hello World";
    }

    HocSinhDAL.HocSinhDAL hsDal = new HocSinhDAL.HocSinhDAL();
    [WebMethod]
    public int TinhTong(int a, int b)
    {
      
        return hsDal.TongHaiSo(a, b);

    }
}